
public class TesterRomain {
	
	// print the moves of the player and boxes knowing a solution
	public static void printPlayerMoves(Board b, PlayerNBoxes playerNBoxes, String path) throws CloneNotSupportedException{
		PlayerNBoxes pnb = playerNBoxes.clone();
		System.out.println(pnb);
		char tmp;
		int i=0;
		while (i<path.length()){
			tmp = path.charAt(i);
			if (tmp != ' '){
				Helper.printjoint(Helper.joinBoards(b, pnb));
				pnb.movePlayer(tmp);
			}
			i++;
		}
	}

}
